package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 礼物记录对象 gift_records
 * 
 * @author david
 * @date 2025-06-11
 */
public class GiftRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 直播间Id */
    @Excel(name = "直播间Id")
    private String liveRoomId;

    /** 场次 */
    @Excel(name = "场次")
    private Long times;

    /** 阵营Id */
    @Excel(name = "阵营Id")
    private Long track;

    /** 职业Id */
    @Excel(name = "职业Id")
    private Long job;

    /** 通知消息id */
    @Excel(name = "通知消息id")
    private String msgId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    /** 礼物Id */
    @Excel(name = "礼物Id")
    private String giftId;

    /** 礼物名称 */
    @Excel(name = "礼物名称")
    private String giftName;

    /** 礼物数量 */
    @Excel(name = "礼物数量")
    private Long amount;

    /** 单个礼物金额 */
    @Excel(name = "单个礼物金额")
    private Long oneValue;

    /** 礼物总金额 */
    @Excel(name = "礼物总金额")
    private Long totalValue;

    /** 单个礼物积分 */
    @Excel(name = "单个礼物积分")
    private Long score;

    /** 礼物总积分 */
    @Excel(name = "礼物总积分")
    private Long totalScore;

    /** 礼物等级 */
    @Excel(name = "礼物等级")
    private Long giftLevel;

    /** 是否本次升级 */
    @Excel(name = "是否本次升级")
    private Long giftUpgrading;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;

    /** 数据变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据变更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLiveRoomId(String liveRoomId) 
    {
        this.liveRoomId = liveRoomId;
    }

    public String getLiveRoomId() 
    {
        return liveRoomId;
    }

    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }

    public void setTrack(Long track) 
    {
        this.track = track;
    }

    public Long getTrack() 
    {
        return track;
    }

    public void setJob(Long job) 
    {
        this.job = job;
    }

    public Long getJob() 
    {
        return job;
    }

    public void setMsgId(String msgId) 
    {
        this.msgId = msgId;
    }

    public String getMsgId() 
    {
        return msgId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setGiftId(String giftId) 
    {
        this.giftId = giftId;
    }

    public String getGiftId() 
    {
        return giftId;
    }

    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }

    public void setAmount(Long amount) 
    {
        this.amount = amount;
    }

    public Long getAmount() 
    {
        return amount;
    }

    public void setOneValue(Long oneValue) 
    {
        this.oneValue = oneValue;
    }

    public Long getOneValue() 
    {
        return oneValue;
    }

    public void setTotalValue(Long totalValue) 
    {
        this.totalValue = totalValue;
    }

    public Long getTotalValue() 
    {
        return totalValue;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }

    public void setGiftLevel(Long giftLevel) 
    {
        this.giftLevel = giftLevel;
    }

    public Long getGiftLevel() 
    {
        return giftLevel;
    }

    public void setGiftUpgrading(Long giftUpgrading) 
    {
        this.giftUpgrading = giftUpgrading;
    }

    public Long getGiftUpgrading() 
    {
        return giftUpgrading;
    }

    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }

    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("liveRoomId", getLiveRoomId())
            .append("times", getTimes())
            .append("track", getTrack())
            .append("job", getJob())
            .append("msgId", getMsgId())
            .append("userId", getUserId())
            .append("giftId", getGiftId())
            .append("giftName", getGiftName())
            .append("amount", getAmount())
            .append("oneValue", getOneValue())
            .append("totalValue", getTotalValue())
            .append("score", getScore())
            .append("totalScore", getTotalScore())
            .append("giftLevel", getGiftLevel())
            .append("giftUpgrading", getGiftUpgrading())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
